package com.hry.springboot.source;

import com.hry.springboot.source.config.AppConfig;
import com.hry.springboot.source.config.MyListener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.util.concurrent.TimeUnit;

@SpringBootApplication
public class SpringbootSourceApplication {

    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(SpringbootSourceApplication.class, args);

    }

}
